/*
Copyright (C) 2010 Andrew Dieffenbach (www.puzzud.com).

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

package com.puzzud.engine.video;

import com.puzzud.engine.video.*;
//import com.puzzud.engine.video.VideoObject;
//import com.puzzud.engine.video.VideoDisplay;

import java.util.Vector;

// VideoSystem
public class VideoSystem
{
	private Vector videoDisplayList;
	private Vector videoObjectList;
	
	public VideoSystem()
	{
//		videoDisplayList = new Vector();
//		videoObjectList = new Vector();
	}
/*	
	public void display()
	{
		int index;
		
		VideoObject tempVideoObject;
		
		// NOTE Only first display is used and considered for now.
		VideoDisplay videoDisplay = ( VideoDisplay )videoDisplayList.elementAt( 0 );
		
		videoDisplay.clear();
*/		
		/*
		for( index = 0; index < videoObjectList.size(); index++ )
		{
			tempVideoObject = ( VideoObject )videoObjectList.elementAt( index );
			
			tempVideoObject.draw( videoDisplay );
		}
		*/
		
//		videoDisplay.display();
//	}
/*	
	public int addVideoObject( VideoObject videoObject )
	{
		if( videoObject instanceof VideoDisplay )
		{
			System.out.println( "SHIT" );
		}
		else
		{
			videoObjectList.add( videoObject );
		}
		
		return( videoObjectList.size() - 1 );
	}
	
	public VideoObject getVideoObject( int objectNumber )
	{
		VideoObject tempVideoObject;
		
		tempVideoObject = ( VideoObject )videoObjectList.elementAt( objectNumber );
		
		return( tempVideoObject );
	}
*/
}
